@color: #00bc9c;
@hover-color: #058972;
#app{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    .ant-layout{
        width: 100%;
        height: 100%;
    }
    .router-views{
        width: 100%;
        height: 100%;
        position: relative;
    }  
}

.login{
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../../../static/images/login-1.jpg) no-repeat;
    .login_bx{
        position: absolute;
        right: 0;
        top: 20%;
        width: 380px;
        height: 400px;
        right: 10%;
        background-color: #ffffff;
        border-radius: 3px;
        padding: 25px 25px 40px;
        h1{
            color: #000000;
            font-size: 18px;
            margin-bottom: 25px;
        }
        ul{
            margin-bottom: 10px;
            overflow: hidden;
            li{
                float: left;
                width: 20%;
                cursor: pointer;
                .icon{
                    width: 40px;
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 auto;
                    border-radius: 50%;
                }
                i{
                    display: block;
                    background: url(../../../static/images/common.png) no-repeat;
                    &.zf{
                        width: 24px;
                        height: 21px;
                        background-position: -93px -362px; 
                        margin: 0 0 0 5px;
                    }
                    &.qy{
                        width: 24px;
                        height: 21px;
                        background-position: -131px -362px;
                        margin: 0 0 0 2px;
                    }
                    &.fws{
                        width: 23px;
                        height: 21px;
                        background-position: -169px -362px;
                    }
                    &.cs{
                        width: 19px;
                        height: 21px;
                        background-position: -204px -362px;
                    }
                    &.gr{
                        width: 21px;
                        height: 21px;
                        background-position: -232px -362px;
                    }
                }
                p{
                    color: #000000;
                    font-size: 12px;
                    text-align: center;
                    margin: 5px 0 0;
                }
                &.active,&:hover{
                    p{
                        color: @color;
                    }
                    .icon{
                        background-color: @color;
                    }
                    i{
                        &.zf{
                            background-position: -94px -331px;
                        }
                        &.qy{
                            background-position: -131px -331px;
                        }
                        &.fws{
                            background-position: -228px -331px;
                        }
                        &.cs{
                            background-position: -204px -331px;
                        }
                        &.gr{
                            background-position: -231px -331px;
                        }
                    }
                }
            }
        }
        input{
            width: 100%;
            height: 40px;
            border: 1px solid #8b8b8b;
            padding: 0 10px;
        }
        button{
            width: 100%;
            height: 40px;
            line-height: 40px;
            background-color: @color;
            color: #ffffff;
            text-align: center;
            border: none;
            font-size: 14px;
            cursor: pointer;
            &:hover{
                background-color: @hover-color;
            }
        }
        p{
            a{
                float: right;
                margin: 0 10px
            }
        }
    }
}

.register{
    position: relative;
    width: 100%;
    height: 100%;    
    background-color: #1f2531;
    p{
        text-align: right;
        color: #ffffff;
        font-size: 14px;
        width: 750px;
        position: absolute;
        top: 8%;
        left: 50%;
        margin-left: -375px;
        line-height: 26px;
        a{
            float: right;
            display: block;
            width: 64px;
            height: 26px;
            line-height: 26px;
            text-align: center;
            border: 1px solid @color;
            color: @color;
            margin: 0 0 0 10px;
        }
    }
    .register_bx{
        position: absolute;
        width: 750px;
        height: 620px;
        left: 50%;
        top: 45%;
        margin: -310px 0 0 -375px;
        border-radius: 3px;
        padding: 25px 25px 40px;   
        background-color: #ffffff; 
        text-align: center;    
    }
}